package cn.shop.alibaba;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 订单服务
 *
 */
@EnableTransactionManagement(proxyTargetClass = true)
@SpringBootApplication
@MapperScan(value = {"cn.shop.alibaba.mapper"})
@EnableDiscoveryClient
@EnableFeignClients
public class OrderApplication
{
    public static void main( String[] args )
    {
        SpringApplication.run(OrderApplication.class, args);
    }
}
